package HeSuanServer.service;

import HeSuanServer.POJO.R.Result;
import HeSuanServer.POJO.EmpSearch;
import HeSuanServer.POJO.Employee;

/**
 * @描述:
 * @author: LH
 * @date: 2022/12/6
 */
public interface EmpService {
    Result findAll();
    Result getById(Integer id);
    Result editById(Employee emp);
    Result add(Employee emp);
    Result del(Integer id);
    Result getByName(String name);
    Result likeByName(String name);
    Result empSearch(EmpSearch search);
    Result byPage(EmpSearch search);
}
